package com.example.diagnose.Domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("diagnose_record")
@Schema(name = "诊断记录实体类")
@Repository
public class DiagnoseRecord {
    @TableId(type = IdType.AUTO)
    @Schema(name = "诊断记录id")
    private int diagnose_id;
    @Schema(name = "用户id")
    private String user_account;
    @Schema(name = "诊断时间")
    private LocalDateTime time;
    @Schema(name = "记录链接")
    private String record_link;
    @Schema(name = "记录名称")
    private String record_title;
}
